package com.copa.gameStore.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;


/**
 * @author copa
 * @createDate 2022-09-25 21:06
 * @function
 */
@TableName(value = "game_news_detail", autoResultMap = true)
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GameNewsDetail extends BaseEntity {

    private String developCompany;

    private String publishCompany;

    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> picUrl;

    @TableField(typeHandler = JacksonTypeHandler.class)
    private Map<String, Object> gameContent;

    private Long gameNewsId;
}
